package com.ycq.extend.demo;

import org.testng.Assert;
import org.testng.Reporter;
import org.testng.annotations.Test;

public class TestMethodsDemo {
    @Test
    public void test1(){
        Assert.assertEquals(1,7);
    }

    @Test
    public void test2(){
        Assert.assertEquals(78,7);
    }

    @Test
    public void test3(){
        Assert.assertEquals(7,7);
    }

    @Test
    public void logDemo(){
        Reporter.log("自己的日志");
        throw new RuntimeException("runntime的异常");
    }


}
